\(\int \frac {(d f+e f x)^2}{(a+b (d+e x)^2+c (d+e x)^4)^2} \, dx\) [648]

   Optimal result
   Rubi [A] (verified)
   Mathematica [A] (verified)
   Maple [C] (verified)
   Fricas [B] (verification not implemented)
   Sympy [F(-1)]
   Maxima [F]
   Giac [B] (verification not implemented)
   Mupad [B] (verification not implemented)

Optimal result

Integrand size = 33, antiderivative size = 263 \[ \int \frac {(d f+e f x)^2}{\left (a+b (d+e x)^2+c (d+e x)^4\right )^2} \, dx=-\frac {f^2 (d+e x) \left (b+2 c (d+e x)^2\right )}{2 \left (b^2-4 a c\right ) e \left (a+b (d+e x)^2+c (d+e x)^4\right )}+\frac {\sqrt {c} \left (2 b-\sqrt {b^2-4 a c}\right ) f^2 \arctan \left (\frac {\sqrt {2} \sqrt {c} (d+e x)}{\sqrt {b-\sqrt {b^2-4 a c}}}\right )}{\sqrt {2} \left (b^2-4 a c\right )^{3/2} \sqrt {b-\sqrt {b^2-4 a c}} e}-\frac {\sqrt {c} \left (2 b+\sqrt {b^2-4 a c}\right ) f^2 \arctan \left (\frac {\sqrt {2} \sqrt {c} (d+e x)}{\sqrt {b+\sqrt {b^2-4 a c}}}\right )}{\sqrt {2} \left (b^2-4 a c\right )^{3/2} \sqrt {b+\sqrt {b^2-4 a c}} e} \]

[Out]

-1/2*f^2*(e*x+d)*(b+2*c*(e*x+d)^2)/(-4*a*c+b^2)/e/(a+b*(e*x+d)^2+c*(e*x+d)^4)+1/2*f^2*arctan((e*x+d)*2^(1/2)*c
^(1/2)/(b-(-4*a*c+b^2)^(1/2))^(1/2))*c^(1/2)*(2*b-(-4*a*c+b^2)^(1/2))/(-4*a*c+b^2)^(3/2)/e*2^(1/2)/(b-(-4*a*c+
b^2)^(1/2))^(1/2)-1/2*f^2*arctan((e*x+d)*2^(1/2)*c^(1/2)/(b+(-4*a*c+b^2)^(1/2))^(1/2))*c^(1/2)*(2*b+(-4*a*c+b^
2)^(1/2))/(-4*a*c+b^2)^(3/2)/e*2^(1/2)/(b+(-4*a*c+b^2)^(1/2))^(1/2)

Rubi [A] (verified)

Time = 0.23 (sec) , antiderivative size = 263, normalized size of antiderivative = 1.00, number of steps used = 5, number of rules used = 4, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.121, Rules used = {1156, 1133, 1180, 211} \[ \int \frac {(d f+e f x)^2}{\left (a+b (d+e x)^2+c (d+e x)^4\right )^2} \, dx=\frac {\sqrt {c} f^2 \left (2 b-\sqrt {b^2-4 a c}\right ) \arctan \left (\frac {\sqrt {2} \sqrt {c} (d+e x)}{\sqrt {b-\sqrt {b^2-4 a c}}}\right )}{\sqrt {2} e \left (b^2-4 a c\right )^{3/2} \sqrt {b-\sqrt {b^2-4 a c}}}-\frac {\sqrt {c} f^2 \left (\sqrt {b^2-4 a c}+2 b\right ) \arctan \left (\frac {\sqrt {2} \sqrt {c} (d+e x)}{\sqrt {\sqrt {b^2-4 a c}+b}}\right )}{\sqrt {2} e \left (b^2-4 a c\right )^{3/2} \sqrt {\sqrt {b^2-4 a c}+b}}-\frac {f^2 (d+e x) \left (b+2 c (d+e x)^2\right )}{2 e \left (b^2-4 a c\right ) \left (a+b (d+e x)^2+c (d+e x)^4\right )} \]

[In]

Int[(d*f + e*f*x)^2/(a + b*(d + e*x)^2 + c*(d + e*x)^4)^2,x]

[Out]

-1/2*(f^2*(d + e*x)*(b + 2*c*(d + e*x)^2))/((b^2 - 4*a*c)*e*(a + b*(d + e*x)^2 + c*(d + e*x)^4)) + (Sqrt[c]*(2
*b - Sqrt[b^2 - 4*a*c])*f^2*ArcTan[(Sqrt[2]*Sqrt[c]*(d + e*x))/Sqrt[b - Sqrt[b^2 - 4*a*c]]])/(Sqrt[2]*(b^2 - 4
*a*c)^(3/2)*Sqrt[b - Sqrt[b^2 - 4*a*c]]*e) - (Sqrt[c]*(2*b + Sqrt[b^2 - 4*a*c])*f^2*ArcTan[(Sqrt[2]*Sqrt[c]*(d
 + e*x))/Sqrt[b + Sqrt[b^2 - 4*a*c]]])/(Sqrt[2]*(b^2 - 4*a*c)^(3/2)*Sqrt[b + Sqrt[b^2 - 4*a*c]]*e)

Rule 211

Int[((a_) + (b_.)*(x_)^2)^(-1), x_Symbol] :> Simp[(Rt[a/b, 2]/a)*ArcTan[x/Rt[a/b, 2]], x] /; FreeQ[{a, b}, x]
&& PosQ[a/b]

Rule 1133

Int[((d_.)*(x_))^(m_.)*((a_) + (b_.)*(x_)^2 + (c_.)*(x_)^4)^(p_), x_Symbol] :> Simp[d*(d*x)^(m - 1)*(b + 2*c*x
^2)*((a + b*x^2 + c*x^4)^(p + 1)/(2*(p + 1)*(b^2 - 4*a*c))), x] - Dist[d^2/(2*(p + 1)*(b^2 - 4*a*c)), Int[(d*x
)^(m - 2)*(b*(m - 1) + 2*c*(m + 4*p + 5)*x^2)*(a + b*x^2 + c*x^4)^(p + 1), x], x] /; FreeQ[{a, b, c, d}, x] &&
 NeQ[b^2 - 4*a*c, 0] && LtQ[p, -1] && GtQ[m, 1] && LeQ[m, 3] && IntegerQ[2*p] && (IntegerQ[p] || IntegerQ[m])

Rule 1156

Int[(u_)^(m_.)*((a_.) + (b_.)*(v_)^2 + (c_.)*(v_)^4)^(p_.), x_Symbol] :> Dist[u^m/(Coefficient[v, x, 1]*v^m),
Subst[Int[x^m*(a + b*x^2 + c*x^(2*2))^p, x], x, v], x] /; FreeQ[{a, b, c, m, p}, x] && LinearPairQ[u, v, x]

Rule 1180

Int[((d_) + (e_.)*(x_)^2)/((a_) + (b_.)*(x_)^2 + (c_.)*(x_)^4), x_Symbol] :> With[{q = Rt[b^2 - 4*a*c, 2]}, Di
st[e/2 + (2*c*d - b*e)/(2*q), Int[1/(b/2 - q/2 + c*x^2), x], x] + Dist[e/2 - (2*c*d - b*e)/(2*q), Int[1/(b/2 +
 q/2 + c*x^2), x], x]] /; FreeQ[{a, b, c, d, e}, x] && NeQ[b^2 - 4*a*c, 0] && NeQ[c*d^2 - a*e^2, 0] && PosQ[b^
2 - 4*a*c]

Rubi steps \begin{align*} \text {integral}& = \frac {f^2 \text {Subst}\left (\int \frac {x^2}{\left (a+b x^2+c x^4\right )^2} \, dx,x,d+e x\right )}{e} \\ & = -\frac {f^2 (d+e x) \left (b+2 c (d+e x)^2\right )}{2 \left (b^2-4 a c\right ) e \left (a+b (d+e x)^2+c (d+e x)^4\right )}+\frac {f^2 \text {Subst}\left (\int \frac {b-2 c x^2}{a+b x^2+c x^4} \, dx,x,d+e x\right )}{2 \left (b^2-4 a c\right ) e} \\ & = -\frac {f^2 (d+e x) \left (b+2 c (d+e x)^2\right )}{2 \left (b^2-4 a c\right ) e \left (a+b (d+e x)^2+c (d+e x)^4\right )}+\frac {\left (c \left (2 b-\sqrt {b^2-4 a c}\right ) f^2\right ) \text {Subst}\left (\int \frac {1}{\frac {b}{2}-\frac {1}{2} \sqrt {b^2-4 a c}+c x^2} \, dx,x,d+e x\right )}{2 \left (b^2-4 a c\right )^{3/2} e}-\frac {\left (c \left (2 b+\sqrt {b^2-4 a c}\right ) f^2\right ) \text {Subst}\left (\int \frac {1}{\frac {b}{2}+\frac {1}{2} \sqrt {b^2-4 a c}+c x^2} \, dx,x,d+e x\right )}{2 \left (b^2-4 a c\right )^{3/2} e} \\ & = -\frac {f^2 (d+e x) \left (b+2 c (d+e x)^2\right )}{2 \left (b^2-4 a c\right ) e \left (a+b (d+e x)^2+c (d+e x)^4\right )}+\frac {\sqrt {c} \left (2 b-\sqrt {b^2-4 a c}\right ) f^2 \tan ^{-1}\left (\frac {\sqrt {2} \sqrt {c} (d+e x)}{\sqrt {b-\sqrt {b^2-4 a c}}}\right )}{\sqrt {2} \left (b^2-4 a c\right )^{3/2} \sqrt {b-\sqrt {b^2-4 a c}} e}-\frac {\sqrt {c} \left (2 b+\sqrt {b^2-4 a c}\right ) f^2 \tan ^{-1}\left (\frac {\sqrt {2} \sqrt {c} (d+e x)}{\sqrt {b+\sqrt {b^2-4 a c}}}\right )}{\sqrt {2} \left (b^2-4 a c\right )^{3/2} \sqrt {b+\sqrt {b^2-4 a c}} e} \\ \end{align*}

Mathematica [A] (verified)

Time = 0.60 (sec) , antiderivative size = 250, normalized size of antiderivative = 0.95 \[ \int \frac {(d f+e f x)^2}{\left (a+b (d+e x)^2+c (d+e x)^4\right )^2} \, dx=-\frac {f^2 \left (\frac {b (d+e x)+2 c (d+e x)^3}{\left (b^2-4 a c\right ) \left (a+b (d+e x)^2+c (d+e x)^4\right )}+\frac {\sqrt {2} \sqrt {c} \left (-2 b+\sqrt {b^2-4 a c}\right ) \arctan \left (\frac {\sqrt {2} \sqrt {c} (d+e x)}{\sqrt {b-\sqrt {b^2-4 a c}}}\right )}{\left (b^2-4 a c\right )^{3/2} \sqrt {b-\sqrt {b^2-4 a c}}}+\frac {\sqrt {2} \sqrt {c} \left (2 b+\sqrt {b^2-4 a c}\right ) \arctan \left (\frac {\sqrt {2} \sqrt {c} (d+e x)}{\sqrt {b+\sqrt {b^2-4 a c}}}\right )}{\left (b^2-4 a c\right )^{3/2} \sqrt {b+\sqrt {b^2-4 a c}}}\right )}{2 e} \]

[In]

Integrate[(d*f + e*f*x)^2/(a + b*(d + e*x)^2 + c*(d + e*x)^4)^2,x]

[Out]

-1/2*(f^2*((b*(d + e*x) + 2*c*(d + e*x)^3)/((b^2 - 4*a*c)*(a + b*(d + e*x)^2 + c*(d + e*x)^4)) + (Sqrt[2]*Sqrt
[c]*(-2*b + Sqrt[b^2 - 4*a*c])*ArcTan[(Sqrt[2]*Sqrt[c]*(d + e*x))/Sqrt[b - Sqrt[b^2 - 4*a*c]]])/((b^2 - 4*a*c)
^(3/2)*Sqrt[b - Sqrt[b^2 - 4*a*c]]) + (Sqrt[2]*Sqrt[c]*(2*b + Sqrt[b^2 - 4*a*c])*ArcTan[(Sqrt[2]*Sqrt[c]*(d +
e*x))/Sqrt[b + Sqrt[b^2 - 4*a*c]]])/((b^2 - 4*a*c)^(3/2)*Sqrt[b + Sqrt[b^2 - 4*a*c]])))/e

Maple [C] (verified)

Result contains higher order function than in optimal. Order 9 vs. order 3.

Time = 0.63 (sec) , antiderivative size = 323, normalized size of antiderivative = 1.23

method result size
default \(f^{2} \left (\frac {\frac {c \,e^{2} x^{3}}{4 a c -b^{2}}+\frac {3 x^{2} c d e}{4 a c -b^{2}}+\frac {\left (6 c \,d^{2}+b \right ) x}{8 a c -2 b^{2}}+\frac {d \left (2 c \,d^{2}+b \right )}{2 e \left (4 a c -b^{2}\right )}}{c \,x^{4} e^{4}+4 c d \,e^{3} x^{3}+6 c \,d^{2} e^{2} x^{2}+4 c \,d^{3} e x +b \,e^{2} x^{2}+d^{4} c +2 b d e x +b \,d^{2}+a}+\frac {\munderset {\textit {\_R} =\operatorname {RootOf}\left (c \,e^{4} \textit {\_Z}^{4}+4 c d \,e^{3} \textit {\_Z}^{3}+\left (6 c \,d^{2} e^{2}+b \,e^{2}\right ) \textit {\_Z}^{2}+\left (4 d^{3} e c +2 b d e \right ) \textit {\_Z} +d^{4} c +b \,d^{2}+a \right )}{\sum }\frac {\left (2 \textit {\_R}^{2} c \,e^{2}+4 \textit {\_R} c d e +2 c \,d^{2}-b \right ) \ln \left (x -\textit {\_R} \right )}{2 e^{3} c \,\textit {\_R}^{3}+6 c d \,e^{2} \textit {\_R}^{2}+6 c \,d^{2} e \textit {\_R} +2 d^{3} c +b e \textit {\_R} +b d}}{4 \left (4 a c -b^{2}\right ) e}\right )\) \(323\)
risch \(\frac {\frac {c \,e^{2} f^{2} x^{3}}{4 a c -b^{2}}+\frac {3 d c e \,f^{2} x^{2}}{4 a c -b^{2}}+\frac {f^{2} \left (6 c \,d^{2}+b \right ) x}{8 a c -2 b^{2}}+\frac {d \,f^{2} \left (2 c \,d^{2}+b \right )}{2 e \left (4 a c -b^{2}\right )}}{c \,x^{4} e^{4}+4 c d \,e^{3} x^{3}+6 c \,d^{2} e^{2} x^{2}+4 c \,d^{3} e x +b \,e^{2} x^{2}+d^{4} c +2 b d e x +b \,d^{2}+a}+\frac {f^{2} \left (\munderset {\textit {\_R} =\operatorname {RootOf}\left (c \,e^{4} \textit {\_Z}^{4}+4 c d \,e^{3} \textit {\_Z}^{3}+\left (6 c \,d^{2} e^{2}+b \,e^{2}\right ) \textit {\_Z}^{2}+\left (4 d^{3} e c +2 b d e \right ) \textit {\_Z} +d^{4} c +b \,d^{2}+a \right )}{\sum }\frac {\left (\frac {2 c \,e^{2} \textit {\_R}^{2}}{4 a c -b^{2}}+\frac {4 d c e \textit {\_R}}{4 a c -b^{2}}-\frac {-2 c \,d^{2}+b}{4 a c -b^{2}}\right ) \ln \left (x -\textit {\_R} \right )}{2 e^{3} c \,\textit {\_R}^{3}+6 c d \,e^{2} \textit {\_R}^{2}+6 c \,d^{2} e \textit {\_R} +2 d^{3} c +b e \textit {\_R} +b d}\right )}{4 e}\) \(359\)

[In]

int((e*f*x+d*f)^2/(a+b*(e*x+d)^2+c*(e*x+d)^4)^2,x,method=_RETURNVERBOSE)

[Out]

f^2*((c*e^2/(4*a*c-b^2)*x^3+3/(4*a*c-b^2)*x^2*c*d*e+1/2*(6*c*d^2+b)/(4*a*c-b^2)*x+1/2*d/e*(2*c*d^2+b)/(4*a*c-b
^2))/(c*e^4*x^4+4*c*d*e^3*x^3+6*c*d^2*e^2*x^2+4*c*d^3*e*x+b*e^2*x^2+c*d^4+2*b*d*e*x+b*d^2+a)+1/4/(4*a*c-b^2)/e
*sum((2*_R^2*c*e^2+4*_R*c*d*e+2*c*d^2-b)/(2*_R^3*c*e^3+6*_R^2*c*d*e^2+6*_R*c*d^2*e+2*c*d^3+_R*b*e+b*d)*ln(x-_R
),_R=RootOf(c*e^4*_Z^4+4*c*d*e^3*_Z^3+(6*c*d^2*e^2+b*e^2)*_Z^2+(4*c*d^3*e+2*b*d*e)*_Z+d^4*c+b*d^2+a)))

Fricas [B] (verification not implemented)

Leaf count of result is larger than twice the leaf count of optimal. 2600 vs. \(2 (222) = 444\).

Time = 0.30 (sec) , antiderivative size = 2600, normalized size of antiderivative = 9.89 \[ \int \frac {(d f+e f x)^2}{\left (a+b (d+e x)^2+c (d+e x)^4\right )^2} \, dx=\text {Too large to display} \]

[In]

integrate((e*f*x+d*f)^2/(a+b*(e*x+d)^2+c*(e*x+d)^4)^2,x, algorithm="fricas")

[Out]

-1/4*(4*c*e^3*f^2*x^3 + 12*c*d*e^2*f^2*x^2 + 2*(6*c*d^2 + b)*e*f^2*x + 2*(2*c*d^3 + b*d)*f^2 + sqrt(1/2)*((b^2
*c - 4*a*c^2)*e^5*x^4 + 4*(b^2*c - 4*a*c^2)*d*e^4*x^3 + (b^3 - 4*a*b*c + 6*(b^2*c - 4*a*c^2)*d^2)*e^3*x^2 + 2*
(2*(b^2*c - 4*a*c^2)*d^3 + (b^3 - 4*a*b*c)*d)*e^2*x + ((b^2*c - 4*a*c^2)*d^4 + a*b^2 - 4*a^2*c + (b^3 - 4*a*b*
c)*d^2)*e)*sqrt(-((b^3 + 12*a*b*c)*f^4 + (a*b^6 - 12*a^2*b^4*c + 48*a^3*b^2*c^2 - 64*a^4*c^3)*sqrt(f^8/((a^2*b
^6 - 12*a^3*b^4*c + 48*a^4*b^2*c^2 - 64*a^5*c^3)*e^4))*e^2)/((a*b^6 - 12*a^2*b^4*c + 48*a^3*b^2*c^2 - 64*a^4*c
^3)*e^2))*log((3*b^2*c + 4*a*c^2)*e*f^6*x + (3*b^2*c + 4*a*c^2)*d*f^6 + 1/2*sqrt(1/2)*((b^5 - 8*a*b^3*c + 16*a
^2*b*c^2)*e*f^4 - (a*b^8 - 8*a^2*b^6*c + 128*a^4*b^2*c^3 - 256*a^5*c^4)*sqrt(f^8/((a^2*b^6 - 12*a^3*b^4*c + 48
*a^4*b^2*c^2 - 64*a^5*c^3)*e^4))*e^3)*sqrt(-((b^3 + 12*a*b*c)*f^4 + (a*b^6 - 12*a^2*b^4*c + 48*a^3*b^2*c^2 - 6
4*a^4*c^3)*sqrt(f^8/((a^2*b^6 - 12*a^3*b^4*c + 48*a^4*b^2*c^2 - 64*a^5*c^3)*e^4))*e^2)/((a*b^6 - 12*a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^6 - 12*a^
2*b^4*c + 48*a^3*b^2*c^2 - 64*a^4*c^3)*sqrt(f^8/((a^2*b^6 - 12*a^3*b^4*c + 48*a^4*b^2*c^2 - 64*a^5*c^3)*e^4))*
e^2)/((a*b^6 - 12*a^2*b^4*c + 48*a^3*b^2*c^2 - 64*a^4*c^3)*e^2))*log((3*b^2*c + 4*a*c^2)*e*f^6*x + (3*b^2*c +
4*a*c^2)*d*f^6 - 1/2*sqrt(1/2)*((b^5 - 8*a*b^3*c + 16*a^2*b*c^2)*e*f^4 + (a*b^8 - 8*a^2*b^6*c + 128*a^4*b^2*c^
3 - 256*a^5*c^4)*sqrt(f^8/((a^2*b^6 - 12*a^3*b^4*c + 48*a^4*b^2*c^2 - 64*a^5*c^3)*e^4))*e^3)*sqrt(-((b^3 + 12*
a*b*c)*f^4 - (a*b^6 - 12*a^2*b^4*c + 48*a^3*b^2*c^2 - 64*a^4*c^3)*sqrt(f^8/((a^2*b^6 - 12*a^3*b^4*c + 48*a^4*b
^2*c^2 - 64*a^5*c^3)*e^4))*e^2)/((a*b^6 - 12*a^2*b^4*c + 48*a^3*b^2*c^2 - 64*a^4*c^3)*e^2))))/((b^2*c - 4*a*c^
2)*e^5*x^4 + 4*(b^2*c - 4*a*c^2)*d*e^4*x^3 + (b^3 - 4*a*b*c + 6*(b^2*c - 4*a*c^2)*d^2)*e^3*x^2 + 2*(2*(b^2*c -
 4*a*c^2)*d^3 + (b^3 - 4*a*b*c)*d)*e^2*x + ((b^2*c - 4*a*c^2)*d^4 + a*b^2 - 4*a^2*c + (b^3 - 4*a*b*c)*d^2)*e)

Sympy [F(-1)]

Timed out. \[ \int \frac {(d f+e f x)^2}{\left (a+b (d+e x)^2+c (d+e x)^4\right )^2} \, dx=\text {Timed out} \]

[In]

integrate((e*f*x+d*f)**2/(a+b*(e*x+d)**2+c*(e*x+d)**4)**2,x)

[Out]

Timed out

Maxima [F]

\[ \int \frac {(d f+e f x)^2}{\left (a+b (d+e x)^2+c (d+e x)^4\right )^2} \, dx=\int { \frac {{\left (e f x + d f\right )}^{2}}{{\left ({\left (e x + d\right )}^{4} c + {\left (e x + d\right )}^{2} b + a\right )}^{2}} \,d x } \]

[In]

integrate((e*f*x+d*f)^2/(a+b*(e*x+d)^2+c*(e*x+d)^4)^2,x, algorithm="maxima")

[Out]

1/2*f^2*integrate(-(2*c*e^2*x^2 + 4*c*d*e*x + 2*c*d^2 - b)/((b^2*c - 4*a*c^2)*e^4*x^4 + 4*(b^2*c - 4*a*c^2)*d*
e^3*x^3 + (b^2*c - 4*a*c^2)*d^4 + (b^3 - 4*a*b*c + 6*(b^2*c - 4*a*c^2)*d^2)*e^2*x^2 + a*b^2 - 4*a^2*c + (b^3 -
 4*a*b*c)*d^2 + 2*(2*(b^2*c - 4*a*c^2)*d^3 + (b^3 - 4*a*b*c)*d)*e*x), x) - 1/2*(2*c*e^3*f^2*x^3 + 6*c*d*e^2*f^
2*x^2 + (6*c*d^2 + b)*e*f^2*x + (2*c*d^3 + b*d)*f^2)/((b^2*c - 4*a*c^2)*e^5*x^4 + 4*(b^2*c - 4*a*c^2)*d*e^4*x^
3 + (b^3 - 4*a*b*c + 6*(b^2*c - 4*a*c^2)*d^2)*e^3*x^2 + 2*(2*(b^2*c - 4*a*c^2)*d^3 + (b^3 - 4*a*b*c)*d)*e^2*x
+ ((b^2*c - 4*a*c^2)*d^4 + a*b^2 - 4*a^2*c + (b^3 - 4*a*b*c)*d^2)*e)

Giac [B] (verification not implemented)

Leaf count of result is larger than twice the leaf count of optimal. 1482 vs. \(2 (222) = 444\).

Time = 0.30 (sec) , antiderivative size = 1482, normalized size of antiderivative = 5.63 \[ \int \frac {(d f+e f x)^2}{\left (a+b (d+e x)^2+c (d+e x)^4\right )^2} \, dx=\text {Too large to display} \]

[In]

integrate((e*f*x+d*f)^2/(a+b*(e*x+d)^2+c*(e*x+d)^4)^2,x, algorithm="giac")

[Out]

1/4*((2*c*e^2*f^2*(sqrt(1/2)*sqrt(-(b*e^2 + s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c*e^4*x^4 + 4*c*d*e^3*x^3 + 6*c*d^2*e^2*x^2 + 4*c*d^3*e*x + c*d^4 + b*e^2*x^2 + 2*b*d*e*x + b*d^2 + a)*(b^2*
e - 4*a*c*e))

Mupad [B] (verification not implemented)

Time = 9.98 (sec) , antiderivative size = 7835, normalized size of antiderivative = 29.79 \[ \int \frac {(d f+e f x)^2}{\left (a+b (d+e x)^2+c (d+e x)^4\right )^2} \, dx=\text {Too large to display} \]

[In]

int((d*f + e*f*x)^2/(a + b*(d + e*x)^2 + c*(d + e*x)^4)^2,x)

[Out]

((x*(b*f^2 + 6*c*d^2*f^2))/(2*(4*a*c - b^2)) + (2*c*d^3*f^2 + b*d*f^2)/(2*e*(4*a*c - b^2)) + (c*e^2*f^2*x^3)/(
4*a*c - b^2) + (3*c*d*e*f^2*x^2)/(4*a*c - b^2))/(a + x^2*(b*e^2 + 6*c*d^2*e^2) + b*d^2 + c*d^4 + x*(2*b*d*e +
4*c*d^3*e) + c*e^4*x^4 + 4*c*d*e^3*x^3) + atan(((((f^4*(-(4*a*c - b^2)^9)^(1/2))/32 - (b^9*f^4)/32 + 24*a^4*b*
c^4*f^4 + 3*a^2*b^5*c^2*f^4 - 16*a^3*b^3*c^3*f^4)/(a*b^12*e^2 + 4096*a^7*c^6*e^2 - 24*a^2*b^10*c*e^2 + 240*a^3
*b^8*c^2*e^2 - 1280*a^4*b^6*c^3*e^2 + 3840*a^5*b^4*c^4*e^2 - 6144*a^6*b^2*c^5*e^2))^(1/2)*((((f^4*(-(4*a*c - b
^2)^9)^(1/2))/32 - (b^9*f^4)/32 + 24*a^4*b*c^4*f^4 + 3*a^2*b^5*c^2*f^4 - 16*a^3*b^3*c^3*f^4)/(a*b^12*e^2 + 409
6*a^7*c^6*e^2 - 24*a^2*b^10*c*e^2 + 240*a^3*b^8*c^2*e^2 - 1280*a^4*b^6*c^3*e^2 + 3840*a^5*b^4*c^4*e^2 - 6144*a
^6*b^2*c^5*e^2))^(1/2)*(((8*b^9*c^2*d*e^13 - 128*a*b^7*c^3*d*e^13 + 2048*a^4*b*c^6*d*e^13 + 768*a^2*b^5*c^4*d*
e^13 - 2048*a^3*b^3*c^5*d*e^13)/(b^6 - 64*a^3*c^3 + 48*a^2*b^2*c^2 - 12*a*b^4*c) + (x*(8*b^7*c^2*e^14 - 96*a*b
^5*c^3*e^14 - 512*a^3*b*c^5*e^14 + 384*a^2*b^3*c^4*e^14))/(b^4 + 16*a^2*c^2 - 8*a*b^2*c))*(((f^4*(-(4*a*c - b^
2)^9)^(1/2))/32 - (b^9*f^4)/32 + 24*a^4*b*c^4*f^4 + 3*a^2*b^5*c^2*f^4 - 16*a^3*b^3*c^3*f^4)/(a*b^12*e^2 + 4096
*a^7*c^6*e^2 - 24*a^2*b^10*c*e^2 + 240*a^3*b^8*c^2*e^2 - 1280*a^4*b^6*c^3*e^2 + 3840*a^5*b^4*c^4*e^2 - 6144*a^
6*b^2*c^5*e^2))^(1/2) + (2*b^7*c^2*e^12*f^2 + 96*a^2*b^3*c^4*e^12*f^2 - 24*a*b^5*c^3*e^12*f^2 - 128*a^3*b*c^5*
e^12*f^2)/(b^6 - 64*a^3*c^3 + 48*a^2*b^2*c^2 - 12*a*b^4*c)) + (16*a^2*c^5*d*e^11*f^4 + 5*b^4*c^3*d*e^11*f^4 -
24*a*b^2*c^4*d*e^11*f^4)/(b^6 - 64*a^3*c^3 + 48*a^2*b^2*c^2 - 12*a*b^4*c) - (x*(4*a*c^4*e^12*f^4 - 5*b^2*c^3*e
^12*f^4))/(b^4 + 16*a^2*c^2 - 8*a*b^2*c))*1i + (((f^4*(-(4*a*c - b^2)^9)^(1/2))/32 - (b^9*f^4)/32 + 24*a^4*b*c
^4*f^4 + 3*a^2*b^5*c^2*f^4 - 16*a^3*b^3*c^3*f^4)/(a*b^12*e^2 + 4096*a^7*c^6*e^2 - 24*a^2*b^10*c*e^2 + 240*a^3*
b^8*c^2*e^2 - 1280*a^4*b^6*c^3*e^2 + 3840*a^5*b^4*c^4*e^2 - 6144*a^6*b^2*c^5*e^2))^(1/2)*((((f^4*(-(4*a*c - b^
2)^9)^(1/2))/32 - (b^9*f^4)/32 + 24*a^4*b*c^4*f^4 + 3*a^2*b^5*c^2*f^4 - 16*a^3*b^3*c^3*f^4)/(a*b^12*e^2 + 4096
*a^7*c^6*e^2 - 24*a^2*b^10*c*e^2 + 240*a^3*b^8*c^2*e^2 - 1280*a^4*b^6*c^3*e^2 + 3840*a^5*b^4*c^4*e^2 - 6144*a^
6*b^2*c^5*e^2))^(1/2)*(((8*b^9*c^2*d*e^13 - 128*a*b^7*c^3*d*e^13 + 2048*a^4*b*c^6*d*e^13 + 768*a^2*b^5*c^4*d*e
^13 - 2048*a^3*b^3*c^5*d*e^13)/(b^6 - 64*a^3*c^3 + 48*a^2*b^2*c^2 - 12*a*b^4*c) + (x*(8*b^7*c^2*e^14 - 96*a*b^
5*c^3*e^14 - 512*a^3*b*c^5*e^14 + 384*a^2*b^3*c^4*e^14))/(b^4 + 16*a^2*c^2 - 8*a*b^2*c))*(((f^4*(-(4*a*c - b^2
)^9)^(1/2))/32 - (b^9*f^4)/32 + 24*a^4*b*c^4*f^4 + 3*a^2*b^5*c^2*f^4 - 16*a^3*b^3*c^3*f^4)/(a*b^12*e^2 + 4096*
a^7*c^6*e^2 - 24*a^2*b^10*c*e^2 + 240*a^3*b^8*c^2*e^2 - 1280*a^4*b^6*c^3*e^2 + 3840*a^5*b^4*c^4*e^2 - 6144*a^6
*b^2*c^5*e^2))^(1/2) - (2*b^7*c^2*e^12*f^2 + 96*a^2*b^3*c^4*e^12*f^2 - 24*a*b^5*c^3*e^12*f^2 - 128*a^3*b*c^5*e
^12*f^2)/(b^6 - 64*a^3*c^3 + 48*a^2*b^2*c^2 - 12*a*b^4*c)) + (16*a^2*c^5*d*e^11*f^4 + 5*b^4*c^3*d*e^11*f^4 - 2
4*a*b^2*c^4*d*e^11*f^4)/(b^6 - 64*a^3*c^3 + 48*a^2*b^2*c^2 - 12*a*b^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 + 4096*a^7*c^6*e^2 - 24
*a^2*b^10*c*e^2 + 240*a^3*b^8*c^2*e^2 - 1280*a^4*b^6*c^3*e^2 + 3840*a^5*b^4*c^4*e^2 - 6144*a^6*b^2*c^5*e^2))^(
1/2) + (2*b^7*c^2*e^12*f^2 + 96*a^2*b^3*c^4*e^12*f^2 - 24*a*b^5*c^3*e^12*f^2 - 128*a^3*b*c^5*e^12*f^2)/(b^6 -
64*a^3*c^3 + 48*a^2*b^2*c^2 - 12*a*b^4*c)) + (16*a^2*c^5*d*e^11*f^4 + 5*b^4*c^3*d*e^11*f^4 - 24*a*b^2*c^4*d*e^
11*f^4)/(b^6 - 64*a^3*c^3 + 48*a^2*b^2*c^2 - 12*a*b^4*c) - (x*(4*a*c^4*e^12*f^4 - 5*b^2*c^3*e^12*f^4))/(b^4 +
16*a^2*c^2 - 8*a*b^2*c)) - (((f^4*(-(4*a*c - b^2)^9)^(1/2))/32 - (b^9*f^4)/32 + 24*a^4*b*c^4*f^4 + 3*a^2*b^5*c
^2*f^4 - 16*a^3*b^3*c^3*f^4)/(a*b^12*e^2 + 4096*a^7*c^6*e^2 - 24*a^2*b^10*c*e^2 + 240*a^3*b^8*c^2*e^2 - 1280*a
^4*b^6*c^3*e^2 + 3840*a^5*b^4*c^4*e^2 - 6144*a^6*b^2*c^5*e^2))^(1/2)*((((f^4*(-(4*a*c - b^2)^9)^(1/2))/32 - (b
^9*f^4)/32 + 24*a^4*b*c^4*f^4 + 3*a^2*b^5*c^2*f^4 - 16*a^3*b^3*c^3*f^4)/(a*b^12*e^2 + 4096*a^7*c^6*e^2 - 24*a^
2*b^10*c*e^2 + 240*a^3*b^8*c^2*e^2 - 1280*a^4*b^6*c^3*e^2 + 3840*a^5*b^4*c^4*e^2 - 6144*a^6*b^2*c^5*e^2))^(1/2
)*(((8*b^9*c^2*d*e^13 - 128*a*b^7*c^3*d*e^13 + 2048*a^4*b*c^6*d*e^13 + 768*a^2*b^5*c^4*d*e^13 - 2048*a^3*b^3*c
^5*d*e^13)/(b^6 - 64*a^3*c^3 + 48*a^2*b^2*c^2 - 12*a*b^4*c) + (x*(8*b^7*c^2*e^14 - 96*a*b^5*c^3*e^14 - 512*a^3
*b*c^5*e^14 + 384*a^2*b^3*c^4*e^14))/(b^4 + 16*a^2*c^2 - 8*a*b^2*c))*(((f^4*(-(4*a*c - b^2)^9)^(1/2))/32 - (b^
9*f^4)/32 + 24*a^4*b*c^4*f^4 + 3*a^2*b^5*c^2*f^4 - 16*a^3*b^3*c^3*f^4)/(a*b^12*e^2 + 4096*a^7*c^6*e^2 - 24*a^2
*b^10*c*e^2 + 240*a^3*b^8*c^2*e^2 - 1280*a^4*b^6*c^3*e^2 + 3840*a^5*b^4*c^4*e^2 - 6144*a^6*b^2*c^5*e^2))^(1/2)
 - (2*b^7*c^2*e^12*f^2 + 96*a^2*b^3*c^4*e^12*f^2 - 24*a*b^5*c^3*e^12*f^2 - 128*a^3*b*c^5*e^12*f^2)/(b^6 - 64*a
^3*c^3 + 48*a^2*b^2*c^2 - 12*a*b^4*c)) + (16*a^2*c^5*d*e^11*f^4 + 5*b^4*c^3*d*e^11*f^4 - 24*a*b^2*c^4*d*e^11*f
^4)/(b^6 - 64*a^3*c^3 + 48*a^2*b^2*c^2 - 12*a*b^4*c) - (x*(4*a*c^4*e^12*f^4 - 5*b^2*c^3*e^12*f^4))/(b^4 + 16*a
^2*c^2 - 8*a*b^2*c))))*((f^4*(-(4*a*c - b^2)^9)^(1/2) - b^9*f^4 + 768*a^4*b*c^4*f^4 + 96*a^2*b^5*c^2*f^4 - 512
*a^3*b^3*c^3*f^4)/(32*(a*b^12*e^2 + 4096*a^7*c^6*e^2 - 24*a^2*b^10*c*e^2 + 240*a^3*b^8*c^2*e^2 - 1280*a^4*b^6*
c^3*e^2 + 3840*a^5*b^4*c^4*e^2 - 6144*a^6*b^2*c^5*e^2)))^(1/2)*2i + atan(((-((b^9*f^4)/32 + (f^4*(-(4*a*c - b^
2)^9)^(1/2))/32 - 24*a^4*b*c^4*f^4 - 3*a^2*b^5*c^2*f^4 + 16*a^3*b^3*c^3*f^4)/(a*b^12*e^2 + 4096*a^7*c^6*e^2 -
24*a^2*b^10*c*e^2 + 240*a^3*b^8*c^2*e^2 - 1280*a^4*b^6*c^3*e^2 + 3840*a^5*b^4*c^4*e^2 - 6144*a^6*b^2*c^5*e^2))
^(1/2)*((-((b^9*f^4)/32 + (f^4*(-(4*a*c - b^2)^9)^(1/2))/32 - 24*a^4*b*c^4*f^4 - 3*a^2*b^5*c^2*f^4 + 16*a^3*b^
3*c^3*f^4)/(a*b^12*e^2 + 4096*a^7*c^6*e^2 - 24*a^2*b^10*c*e^2 + 240*a^3*b^8*c^2*e^2 - 1280*a^4*b^6*c^3*e^2 + 3
840*a^5*b^4*c^4*e^2 - 6144*a^6*b^2*c^5*e^2))^(1/2)*(((8*b^9*c^2*d*e^13 - 128*a*b^7*c^3*d*e^13 + 2048*a^4*b*c^6
*d*e^13 + 768*a^2*b^5*c^4*d*e^13 - 2048*a^3*b^3*c^5*d*e^13)/(b^6 - 64*a^3*c^3 + 48*a^2*b^2*c^2 - 12*a*b^4*c) +
 (x*(8*b^7*c^2*e^14 - 96*a*b^5*c^3*e^14 - 512*a^3*b*c^5*e^14 + 384*a^2*b^3*c^4*e^14))/(b^4 + 16*a^2*c^2 - 8*a*
b^2*c))*(-((b^9*f^4)/32 + (f^4*(-(4*a*c - b^2)^9)^(1/2))/32 - 24*a^4*b*c^4*f^4 - 3*a^2*b^5*c^2*f^4 + 16*a^3*b^
3*c^3*f^4)/(a*b^12*e^2 + 4096*a^7*c^6*e^2 - 24*a^2*b^10*c*e^2 + 240*a^3*b^8*c^2*e^2 - 1280*a^4*b^6*c^3*e^2 + 3
840*a^5*b^4*c^4*e^2 - 6144*a^6*b^2*c^5*e^2))^(1/2) + (2*b^7*c^2*e^12*f^2 + 96*a^2*b^3*c^4*e^12*f^2 - 24*a*b^5*
c^3*e^12*f^2 - 128*a^3*b*c^5*e^12*f^2)/(b^6 - 64*a^3*c^3 + 48*a^2*b^2*c^2 - 12*a*b^4*c)) + (16*a^2*c^5*d*e^11*
f^4 + 5*b^4*c^3*d*e^11*f^4 - 24*a*b^2*c^4*d*e^11*f^4)/(b^6 - 64*a^3*c^3 + 48*a^2*b^2*c^2 - 12*a*b^4*c) - (x*(4
*a*c^4*e^12*f^4 - 5*b^2*c^3*e^12*f^4))/(b^4 + 16*a^2*c^2 - 8*a*b^2*c))*1i + (-((b^9*f^4)/32 + (f^4*(-(4*a*c -
b^2)^9)^(1/2))/32 - 24*a^4*b*c^4*f^4 - 3*a^2*b^5*c^2*f^4 + 16*a^3*b^3*c^3*f^4)/(a*b^12*e^2 + 4096*a^7*c^6*e^2
- 24*a^2*b^10*c*e^2 + 240*a^3*b^8*c^2*e^2 - 1280*a^4*b^6*c^3*e^2 + 3840*a^5*b^4*c^4*e^2 - 6144*a^6*b^2*c^5*e^2
))^(1/2)*((-((b^9*f^4)/32 + (f^4*(-(4*a*c - b^2)^9)^(1/2))/32 - 24*a^4*b*c^4*f^4 - 3*a^2*b^5*c^2*f^4 + 16*a^3*
b^3*c^3*f^4)/(a*b^12*e^2 + 4096*a^7*c^6*e^2 - 24*a^2*b^10*c*e^2 + 240*a^3*b^8*c^2*e^2 - 1280*a^4*b^6*c^3*e^2 +
 3840*a^5*b^4*c^4*e^2 - 6144*a^6*b^2*c^5*e^2))^(1/2)*(((8*b^9*c^2*d*e^13 - 128*a*b^7*c^3*d*e^13 + 2048*a^4*b*c
^6*d*e^13 + 768*a^2*b^5*c^4*d*e^13 - 2048*a^3*b^3*c^5*d*e^13)/(b^6 - 64*a^3*c^3 + 48*a^2*b^2*c^2 - 12*a*b^4*c)
 + (x*(8*b^7*c^2*e^14 - 96*a*b^5*c^3*e^14 - 512*a^3*b*c^5*e^14 + 384*a^2*b^3*c^4*e^14))/(b^4 + 16*a^2*c^2 - 8*
a*b^2*c))*(-((b^9*f^4)/32 + (f^4*(-(4*a*c - b^2)^9)^(1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 + 4096*a^7*c^6*e^2 - 24*a^2*b^10*
c*e^2 + 240*a^3*b^8*c^2*e^2 - 1280*a^4*b^6*c^3*e^2 + 3840*a^5*b^4*c^4*e^2 - 6144*a^6*b^2*c^5*e^2))^(1/2)*((-((
b^9*f^4)/32 + (f^4*(-(4*a*c - b^2)^9)^(1/2))/32 - 24*a^4*b*c^4*f^4 - 3*a^2*b^5*c^2*f^4 + 16*a^3*b^3*c^3*f^4)/(
a*b^12*e^2 + 4096*a^7*c^6*e^2 - 24*a^2*b^10*c*e^2 + 240*a^3*b^8*c^2*e^2 - 1280*a^4*b^6*c^3*e^2 + 3840*a^5*b^4*
c^4*e^2 - 6144*a^6*b^2*c^5*e^2))^(1/2)*(((8*b^9*c^2*d*e^13 - 128*a*b^7*c^3*d*e^13 + 2048*a^4*b*c^6*d*e^13 + 76
8*a^2*b^5*c^4*d*e^13 - 2048*a^3*b^3*c^5*d*e^13)/(b^6 - 64*a^3*c^3 + 48*a^2*b^2*c^2 - 12*a*b^4*c) + (x*(8*b^7*c
^2*e^14 - 96*a*b^5*c^3*e^14 - 512*a^3*b*c^5*e^14 + 384*a^2*b^3*c^4*e^14))/(b^4 + 16*a^2*c^2 - 8*a*b^2*c))*(-((
b^9*f^4)/32 + (f^4*(-(4*a*c - b^2)^9)^(1/2))/32 - 24*a^4*b*c^4*f^4 - 3*a^2*b^5*c^2*f^4 + 16*a^3*b^3*c^3*f^4)/(
a*b^12*e^2 + 4096*a^7*c^6*e^2 - 24*a^2*b^10*c*e^2 + 240*a^3*b^8*c^2*e^2 - 1280*a^4*b^6*c^3*e^2 + 3840*a^5*b^4*
c^4*e^2 - 6144*a^6*b^2*c^5*e^2))^(1/2) - (2*b^7*c^2*e^12*f^2 + 96*a^2*b^3*c^4*e^12*f^2 - 24*a*b^5*c^3*e^12*f^2
 - 128*a^3*b*c^5*e^12*f^2)/(b^6 - 64*a^3*c^3 + 48*a^2*b^2*c^2 - 12*a*b^4*c)) + (16*a^2*c^5*d*e^11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